package org.example.dormsystem.service;

import org.example.dormsystem.pojo.Dormitory;
import org.example.dormsystem.pojo.Student;

import java.util.List;

public interface StudentService {
    Student findStudentByStudentId(Integer studentId);

    boolean register(Integer studentId, String studentName);

    Dormitory findDormIdByStudentId(String dormitoryNumber);

    void submitStudent(Student student);

    List<Student> findStudentByDormitoryNumber(String dormitoryNumber);

    List<Student> getAll();
}
